/* 页面主容器样式 */
.result-wrp {
    width: 1233px;
    margin: 0 auto;
    padding-top: 16px;
    position: relative;
}

/* 结果头部样式，包括切换模式按钮 */
.result-header {
    position: absolute;
    width: 100px;
    right: 0;
    top: -37px;
}
.result-header .num-desc {
    height: 16px;
}

/* 切换模式按钮样式 */
.result-header .mode-trigger {
    position: absolute;
    right: 0;
    top: 0;
}

/* 大模式按钮样式 */
.result-header .mode-trigger .big-mode {
    width: 14px;
    height: 14px;
    margin-right: 20px;
    display: inline-block;
    cursor: pointer;
}
.result-header .mode-trigger .big-mode.active svg g {
    fill: var(--Cy6, #0BA395);
}
.result-header .mode-trigger .big-mode svg g {
    fill: var(--Ga5, #cccccc);
}

/* 小模式按钮样式 */
.result-header .mode-trigger .small-mode {
    width: 14px;
    height: 14px;
    display: inline-block;
    cursor: pointer;
}
.result-header .mode-trigger .small-mode.active svg g {
    fill: var(--Cy6, #0BA395);
}
.result-header .mode-trigger .small-mode svg g {
    fill: var(--Ga5, #cccccc);
}

/* 大模式卡片容器样式 */
.big-mode {
    display: flex;
    flex-wrap: wrap;
}

/* 大模式单个卡片样式 */
.big-mode .big-card {
    width: calc(50% - 5px);
    margin-right: 10px;
    margin-bottom: 30px;
}
.big-card-wrp {
    padding-left: 216px;
    width: 650px;
    max-width: 650px;
    position: relative;
    display: inline-block;
    height: 116px;
    box-sizing: border-box;
    cursor: pointer;
}
.big-card-wrp.big-card {
    position: relative;
    display: flex;
    width: 650px;
    max-width: 650px;
    height: 116px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
    margin-right: 20px;
    box-sizing: border-box;
    flex: calc(50% - 10px);
}

.big-card-wrp {
    padding-left: 216px;
    width: 530px;
    position: relative;
    display: inline-block;
    height: 116px;
    box-sizing: border-box;
    cursor: pointer;
}

[role=button], a, area, button, input:not([type=range]), label, select, summary, textarea {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}
a {
    color: #222;
    background-color: transparent;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    transition: color .3s;
    -webkit-text-decoration-skip: objects;
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* 卡片封面图片样式 */
.big-card-wrp .cover-img {
    width: 206px;
    height: 116px;
    position: absolute;
    top: 0;
    left: 0;
}
img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50%;
    vertical-align: middle;
    border-style: none;
}

.big-card-wrp .block-list-item-info-mask {
    position: absolute;
    width: 100%;
    height: 58px;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(180deg,transparent,rgba(0,0,0,.6));
    border-radius: 0 0 2px 2px;
}
.big-card-wrp .block-list-item-info{
    position: absolute;
    width: 100%;
    bottom: 6px;
    left: 0;
    padding: 0 8px;
    box-sizing: border-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    color: #fff;
    font-size: 12px;
}
.block-list-item-info-player{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}
.block-list-item-info-player .block-list-item-info-player--img {
    margin-right: 4px;
    width: 16px;
    height: 16px;
}

/* 卡片标题样式 */
.big-card-wrp .title {
    font-size: 14px;
    color: var(--Ga10);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
    line-height: 20px;
}
.big-card-wrp .title em {
    color: #02aaaa;
    font-style: normal;
}
.big-card-wrp .rank-row, .big-card-wrp .subtitle {
    font-size: 12px;
    color: #9499a0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 16px;
}
.big-card-wrp .subtitle {
    letter-spacing: 0;
    margin-bottom: 10px;
}

/* 卡片价格样式 */
.big-card-wrp .block-list-item-price {
    color: var(--Cy6, #0BA395);
    line-height: 20px;
    font-size: 14px;
    margin-bottom: 15px;
    margin-right: 10px;
}
.big-card-wrp .block-list-item-price span {
    color: var(--Cy6, #0BA395);
}
.big-card-wrp .first-ep {
    height: 30px;
    background: #f6f7f8;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 30px;
    padding-left: 10px;
    border-radius: 2px;
    width: 100%;
}

.big-card-wrp .first-ep .play-btn {
    width: 14px;
    height: 14px;
    background: url(//s1.hdslb.com/bfs/static/jinkela/edu-pc/pages/assets/play.svg);
    margin-right: 5px;
    display: inline-block;
    position: relative;
    top: 3px;
}
.big-card-wrp .first-ep .first-ep-label {
    font-size: 12px;
    color: #02aaaa;
    letter-spacing: 0;
    margin-right: 10px;
}
.big-card-wrp .first-ep .first-ep-title{
    font-size: 12px;
    color: #18191c;
    letter-spacing: 0;
}

/* 小模式卡片样式 */
.small-mode.small-card {
    width: 236px;
    height: auto;
    margin-right: 13.25px;
    margin-bottom: 20px;
}
.block-list-item {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    width: 206px;
}
.small-mode .small-card .block-list-item-img {
    width: 236px;
    height: 133px;
}
.block-list-item-img {
    width: 206px;
    height: 116px;
    position: relative;
    border-radius: 4px;
}
.block-list-item-info-mask {
    position: absolute;
    width: 100%;
    height: 58px;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(180deg,transparent,rgba(0,0,0,.6));
    border-radius: 0 0 2px 2px;
}
.block-list-item-info.small-card{
    position: absolute;
    width: 100%;
    bottom: 6px;
    left: 0;
    padding: 0 8px;
    box-sizing: border-box;
    -ms-flex-pack: justify;
    justify-content: space-between;
    color: #fff;
    font-size: 12px;
}
.block-list-item-first-box, .block-list-item-info{
    display: -ms-flexbox;
    display: flex;
}
.block-list-item-info {
    position: absolute;
    width: 100%;
    bottom: 6px;
    left: 0;
    padding: 0 8px;
    box-sizing: border-box;
    -ms-flex-pack: justify;
    justify-content: space-between;
    color: #fff;
    font-size: 12px;
}
.block-list-item-info-player {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}
.block-list-item-info-player .block-list-item-info-player--img {
    margin-right: 4px;
    width: 16px;
    height: 16px;
}

.small-mode.small-card .block-list-item-desc, .small-mode.small-card .block-list-item-title {
    width: 236px;
}
.block-list-item-title {
    width: 206px;
    font-size: 14px;
    color:#18191c;
    margin-top: 10px;
    margin-right: 0;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.block-list-item-title em {
    color: #02aaaa;
    font-style: normal;
}
.block-list-item-desc {
    color:#9499a0;
    font-size: 12px;
    line-height: 16px;
    margin: 8px 0;
    width: 206px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.block-list-item-price{
    color:#02aaaa;
    line-height: 20px;
    font-size: 14px;
}

/* 分页容器样式 */
.pager-wrp {
    width: 1233px;
    margin: 0 auto;
}
.pager{
    overflow: hidden;
    line-height: 40px;
    font-family: Arial;
    margin: 0 0 5px;
    display: block;
    width: 100%;
}
.pager .pages{
    display: inline-block;
    vertical-align: middle;
}
.pager .pages .page-item {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    vertical-align: middle;
}
.pager .pages .page-item.active button, .pager .pages .page-item button:hover {
    background: var(--Cy6, #0BA395);
    color: var(--Ga11, #fff);
    border: 1px solid var(--Cy6, #0BA395);
}
/* 分页按钮样式 */
.pager .pages .page-item button {
    color: var(--Ga6, #666);
    cursor: pointer;
    outline: none;
    text-align: center;
    border-radius: 4px;
    background-color: var(--Ga11, #fff);
    border: 1px solid var(--Ga2, #e5e5e5);
    background-image: none;
    transition: all .2s;
    font-size: 14px;
    min-width: 15px;
    margin: 0 2px;
    padding: 0 13px;
    float: left;
    display: block;
    height: 38px;
    line-height: 38px;
}
.pager .jump-pager {
    float: right;
    padding: 0 2px;
    font-size: 12px;
    color: var(--Ga4, #999);
    line-height: 40px;
    height: 40px;
    margin: 17px 0;
}
.pager .jump-pager .page-total {
    display: inline-block;
}
.pager .jump-pager input[type=text] {
    padding: 0 10px;
    width: 30px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    box-shadow: none;
    color: var(--Ga4, #999);
    text-align: center;
    margin: 7px 5px 0;
    border: 1px solid var(--Ga3, #ccc);
    border-radius: 4px;
}

.main-courses-row {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}
.main-course-card {
  flex: 1 1 0;
  max-width: calc((100% - 40px) / 3);
  min-width: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}
.recommend-courses-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 16px;
}
.recommend-course-card {
  width: calc((100% - 64px) / 5);
  min-width: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}
.course-card .cover-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #f5f5f5;
  overflow: hidden;
}
.course-card .cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-info-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 6px 10px;
  background: linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
  color: #fff;
  font-size: 13px;
  z-index: 2;
}
.card-player {
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-lessons {
  font-size: 13px;
}
.card-title {
  font-size: 14px;
  color: #222;
  font-weight: 600;
  margin: 12px 12px 4px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-subtitle {
  font-size: 13px;
  color: #888;
  margin: 0 12px 8px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-price {
  font-size: 15px;
  color: #0BA395;
  font-weight: 700;
  margin: 0 12px 12px 12px;
  white-space: nowrap;
}
.more-recommend-title {
    color: #18191c;
    font-size: 16px;
    line-height: normal;
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
  .big-card-wrp.big-card {
    width: 100%;
    min-width: 320px;
  }
}

.info-right-block {
  position: relative;
  height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  flex: 1;
  width: auto;
}

/* 空状态样式 */
.empty-state {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
}

.empty-state img {
    width: 140px;
    margin-bottom: 6px;
}

.empty-state p {
    color: #9499a0;
    text-align: center;
    width: 280px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0 auto 44px;
}

@media screen and (min-width: 1400px) {
  .big-mode .big-card {
    margin-right: 10px; /* 调整 big mode 卡片的右边距 */
  }
}

@media screen and (min-width: 1400px) {
  .small-mode .small-card {
    width: 236px; /* 设置 small mode 卡片的宽度 */
    height: auto; /* 保持高度自适应 */
    margin-right: 13.25px; /* 调整 small mode 卡片的右边距 */
  }
}